const getters = {
  /*-------------面板--------------*/
  getActiveTab(state) {
    return state.activeTab
  },
  getDisabledTabs(state) {
    return state.disabledTabs
  },
  getDefaultOpenBlock(state) {
    if (state.collapseData.uniqueOpened) {
      return [state.collapseData.defaultOpen[0]] || []
    } else {
      return state.collapseData.defaultOpen
    }
  }
  /*-------------面板--------------*/
}

export default getters
